/**
 * 
 */
package org.t2.design.struct;

import org.gaming.prefab.thing.longn.LRewardThing;

/**
 * 
 */
public class RewardThing implements LRewardThing {
	private int id;
	private long num;
	
	public static RewardThing of(int item, long num) {
		RewardThing thing = new RewardThing();
		thing.id = item;
		thing.num = num;
		return thing;
	}
	
	public int getId() {
		return id;
	}
	public long getNum() {
		return num;
	}
	@Override
	public int getThingId() {
		return id;
	}
	@Override
	public long getNumber() {
		return num;
	}
}
